import request from '@/utils/request.js'
import {useTokenStore} from '@/stores/token.js'

export const clientListService = ()=>{
    return request.get('/client/all')
}

export const adpositionListService = (params)=>{
    return request.get('/adposition',{params:params})
}

export const adpositionAddService = (adpositionData)=>{
    return request.post('/adposition', adpositionData)
}

export const adpositionUpdateService = (adpositionData)=>{
    return request.put('/adposition', adpositionData)
}

export const adpositionDeleteServcie = (id)=>{
    return request.delete('/adposition?id='+id)
}

